package com.willpower.eureka.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.willpower.eureka.entity.SysMenu;
import com.willpower.eureka.mapper.SysMenuMapper;
import com.willpower.eureka.service.ISysMenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;


/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author wen-yi
 * @since 2021-11-05
 */
@Service
public class SysMenuServiceImpl extends ServiceImpl<SysMenuMapper, SysMenu> implements ISysMenuService {
    @Resource
    private SysMenuMapper mapper;

    @Override
    public List<SysMenu> getAllMenu(){
        return mapper.getAllMenu();
    }
}
